<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.kaishengit.entity.User"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  
    
    <title>My JSP 'toadd.jsp' starting page</title>
     <link rel="stylesheet"  type="text/css"  href="style/bootstrap.min.css"/>
	<style  type="text/css">
		input{
			height:30px;
		}
	</style>

  </head>
  
  <body>
   <div style="z-index: 5" class="topbar-wrapper">
    <div data-dropdown="dropdown" class="topbar">
      <div class="topbar-inner">
        <div class="container">
          <h3><a href="#">Project Name</a></h3>
          <ul class="nav">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#">Link</a></li>
            <li><a href="#">Link</a></li>
            <li><a href="#">Link</a></li>
            <li class="dropdown">
              <a class="dropdown-toggle" href="#">Dropdown</a>
              <ul class="dropdown-menu">
                <li><a href="#">Secondary link</a></li>
                <li><a href="#">Something else here</a></li>
                <li class="divider"></li>
                <li><a href="#">Another link</a></li>
              </ul>
            </li>
          </ul>
     
          <ul class="nav secondary-nav">
            <li class="dropdown">
              <a class="dropdown-toggle" href="#">Dropdown</a>
              <ul class="dropdown-menu">
                <li><a href="#">Secondary link</a></li>
                <li><a href="#">Something else here</a></li>
                <li class="divider"></li>
                <li><a href="#">Another link</a></li>
              </ul>
            </li>
            <li  style="fond-size:20px"><a>欢迎员工：</a></li>
            <%User user = (User)session.getAttribute("worker"); %>
            <li ><a style="fond-size:20px"><%=user.getName() %></a></li>
          </ul>
        </div>
      </div><!-- /topbar-inner -->
    </div><!-- /topbar -->
  </div>
  <div style="margin-top:60px">
  <%String ok = request.getParameter("ok");
  	if(ok!=null&&ok.equals("1")){%>
  	<div>添加成功</div>
  	<%}
   %>
   <div>添加销售纪录</div>
   <form action="product.html?s=addprodworker"  method="post">
   			日期：<input type="text"  name="time"  /><br/><br/>
   			单位：<input type="text"  name="danwei"  /><br/><br/>
   			导游：<input type="text"  name="daoyou" /><br/><br/>
   			人数：<input type="text"  name="renshu"  /><br/><br/>
   			客源地：<input type="text" name="keyuan"  /><br/><br/>
   			销售额：<input type="text"  name="xiaoshoue" /><br/><br/>
   			<input type="submit"  value="ok"   class="btn success"/>
   			<input type="reset"  value="取消"   class="btn success"/>
   </form>
   <a  href="product.html?s=workertuichu"><input type="button"  value="安全退出"/></a>
   </div>
  </body>
  <script type="text/javascript" src="script/jquery.js"></script>
  <script type="text/javascript" src="script/bootstrap-dropdown.js"></script>
</html>
